Skip to content

feat: Google Drive/Docs/Sheets in chat context (Phase 2)#647

Merged
1 commit merged intomainfrom
feat/google-drive-context
Mar 25, 2026
Merged

feat: Google Drive/Docs/Sheets in chat context (Phase 2)#647
1 commit merged intomainfrom
feat/google-drive-context

Conversation

@ShaerWare
Copy link
Copy Markdown
Owner

Summary

  • Backend: Drive list/search, Docs→text, Sheets→markdown, file download
  • Router: /admin/google/drive/files, search, file/{id}/content
  • Frontend: Google Drive picker in chat context panel
    • Folder navigation with breadcrumbs
    • File search across Drive
    • One-click attach: Docs, Sheets, text files auto-converted

NEWS

📂 Google Диск, Документы и Таблицы — в контексте чата!

Подключите Google в настройках и прикрепляйте файлы с Диска прямо в чат.
Google Документы конвертируются в текст, Таблицы — в markdown.
Навигация по папкам и поиск файлов — всё внутри чата.

Test plan

  • Connect Google in Settings
  • Open chat → context files tab → click Google Drive button
  • Browse folders, navigate, search files
  • Click a Doc → attached as text in context
  • Click a Sheet → attached as markdown table

🤖 Generated with Claude Code

Google OAuth Phase 2: интеграция Google Drive в чат.
- Backend: drive_list, drive_search, docs_get_text, sheets_get_data,
  drive_get_file_content в GoogleOAuthService
- Router: 3 новых эндпоинта (/drive/files, /drive/search, /drive/file/{id}/content)
- Frontend: Google Drive picker в ChatView (навигация, поиск, хлебные крошки)
- Файлы из Drive/Docs/Sheets добавляются как контекстные файлы в чат
- Web search кнопка: синий → оранжевый (ночной режим)
- Mobile: новые иконки приложения с тёмным фоном (#1A1308)
- i18n: ключи google.searchFiles/noFiles (ru/en/kk)
- Fix: toast → toastStore в attachGoogleFile

## NEWS

📂 **Google Drive прямо в чате!**

Теперь можно прикреплять файлы из Google Drive, Документов и Таблиц
прямо в контекст чата. Навигация по папкам, поиск файлов — всё
встроено в интерфейс. Таблицы автоматически конвертируются в Markdown.
Также обновили иконки мобильного приложения и стиль кнопки веб-поиска.

Relates to #271
Relates to #484

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ShaerWare ShaerWare closed this pull request by merging all changes into main in aabc247 Mar 25, 2026
@ShaerWare ShaerWare deleted the feat/google-drive-context branch March 25, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant